package com.example.archive.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.archive.entity.ArchiveModificationRequest;

public interface ArchiveModificationRequestService extends IService<ArchiveModificationRequest> {
    
    /**
     * 分页查询修改请求（带详细信息）
     */
    Page<ArchiveModificationRequest> getRequestsWithDetails(int current, int size);
    
    /**
     * 提交修改申请
     */
    boolean submitModificationRequest(ArchiveModificationRequest request);
    
    /**
     * 审批修改申请
     */
    boolean approveModificationRequest(Integer requestId, String status, String remark, Integer approverId);
    
    /**
     * 执行修改
     */
    boolean executeModification(Integer requestId, String executeRemark, Integer executorId);
} 